//
//  SVPProgressHUDEncapsulation.h
//  MrjStrong
//
//  Created by 肖会军 on 16/4/7.
//  Copyright © 2016年 excenon. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface MrjSVProgressHUD : NSObject

#define BTRequestError @"The network seems unstable"

//#pragma mark- 设置自动异常时间
//+ (void)setMinimumDismissTimeInterval:(NSTimeInterval)timeInterval;
//
//#pragma mark- 设置SVP的风格
//+ (void)SVProgressHUDStyleLight;
//+ (void)SVProgressHUDStyleDark;

#pragma mark- 设置用户交互type
+ (void)SVProgressHUDMaskTypeClear;
+ (void)SVProgressHUDMaskTypeBlack;

// 只展示文字
+ (void)showOnlyMsg:(NSString *)msg;
+ (void)showWarningMsg:(NSString *)msg;

#pragma mark- show 一直显示
+ (void)show;
+ (void)showWithStatus:(NSString*)status;

+(void) showWithStatus:(NSString *)status withTimeout:(NSInteger)timeout;
#pragma mark- show success 显示设定的秒数会自动消失
+ (void)showSuccessWithStatus:(NSString*)status;
#pragma mark- show Error 显示设定的秒数会自动消失
+ (void)showErrorWithStatus:(NSString*)status;

#pragma mark- 手动消失
+ (void)dismiss;
+ (void)dismissWithDelay:(NSTimeInterval)delay;

@end
